package com.simple.datax.flow.dao.ibatis;
import com.simple.datax.flow.dao.ibatis.model.FlowInstance;
import java.util.List;
/**
 * 对应数据表TCS_FLOW_INSTANCE的DAO
 */
public interface FlowInstanceDao {
	/**
	 * 保存流程任务记录
	 */
	public void saveFlowInstance(FlowInstance flowInstance);
	
	/**
	 * 根据任务ID获取流程任务记录
	 * @param taskid
	 * @return
	 */
	public FlowInstance getFlowInstance(String taskid);

	/**
	 * 修改流程任务记录状态
	 * @param flowInstance
	 */
	public void updateFlowInstanceStatus(String taskid,int status);
}